{{#if targetPackage ~}}
    package {{targetPackage}};
{{/if}}
{{#each imports ~}}
    import {{this}};
{{/each}}
{{#each objectTypes as |objectType|}}
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
{{#if @first}}public {{/if ~}}
class {{objectType.name}} {
    {{~#each objectType.fields as |field|}}
    private {{{field.name}}} {{@key}};
    {{~/each}}
}
{{/each}}